import Layout from "@/layout/index.vue";
export default [
  {
    path: "/manage/home",
    name: "layout",
    redirect: "/manage/home",
    component: Layout,
    meta: {
      title: "首页",
    },
    children: [
      {
        path: "/manage/home",
        name: "ManageHome",
        component: () => import("@/views/manage/home/index.vue"),
        meta: {
          isShow: true,
          title: "首页",
          icon: "sidebar-home",
          index: 1,
        },
      },
      // 数据大屏
      {
        path: "/manage/dataScreen",
        name: "DataScreen",
        component: () => import("@/views/manage/home/index.vue"),
        meta: {
          isShow: true,
          title: "数据大屏",
          icon: "sidebar-data",
        },
      },
      // 审批中心
      {
        path: "/manage/checkCenter",
        name: "CheckCenter",
        redirect: "/checkCenter/person",
        meta: {
          isShow: true,
          title: "审批中心",
          icon: "sidebar-check",
        },
        children: [
          {
            path: "/manage/checkCenter/person",
            name: "PersonCheck",
            component: () => import("@/views/manage/checkCenter/person/index.vue"),
            meta: {
              title: "社团审批",
            },
          },
          // {
          //   path: "/manage/checkCenter/activity",
          //   name: "ActivityCheck",
          //   component: () => import("@/views/manage/checkCenter/activity/index.vue"),
          //   meta: {
          //     title: "活动审批",
          //   },
          // },
          {
            path: "/manage/checkCenter/goods",
            name: "GoodsCheck",
            component: () => import("@/views/manage/checkCenter/goods/index.vue"),
            meta: {
              title: "物资审批",
            },
          },
        ],
      },
      // 社团活动
      {
        path: "/manage/activityCenter",
        name: "ActivityCenter",
        component: () => import("@/views/manage/activityCenter/index.vue"),
        meta: {
          isShow: true,
          title: "活动管理",
          icon: "sidebar-activity",
        },
      },
      // 新增社团活动
      {
        path: "/manage/addActivity",
        name: "AddActivity",
        component: () => import("@/views/manage/activityCenter/addActivity.vue"),
        meta: {
          isShow: true,
          title: "发布活动",
          icon: "sidebar-add",
        },
      },
      // 社团管理
      {
        path: "/manage/memberCenter",
        name: "MemberCenter",
        redirect: "/memberCenter/massOrganizations",
        meta: {
          isShow: true,
          title: "社团管理",
          icon: "sidebar-member",
        },
        children: [
          {
            path: "/manage/memberCenter/massOrganizations",
            name: "MassOrganizations",
            component: () => import("@/views/manage/memberCenter/association.vue"),
            meta: {
              title: "社团列表",
            },
          },
          {
            path: "/manage/memberCenter/member",
            name: "MemberList",
            component: () => import("@/views/manage/memberCenter/member.vue"),
            meta: {
              title: "会员管理",
            },
          },
          // {
          //   path: "/manage/memberCenter/manage",
          //   name: "CadreList",
          //   component: () => import("@/views/manage/memberCenter/manage.vue"),
          //   meta: {
          //     title: "干部管理",
          //   },
          // },
        ],
      },
      // 物资中心
      {
        path: "/manage/goodsCenter",
        name: "GoodsCenter",
        meta: {
          isShow: true,
          title: "物资中心",
          icon: "sidebar-goods",
        },
        component: () => import("@/views/manage/goodsCenter/goodsStore/index.vue"),
        // children: [
        //   {
        //     path: "/manage/goodsCenter/goodsStore",
        //     name: "GoodsStore",
        //     component: () => import("@/views/manage/goodsCenter/goodsStore/index.vue"),
        //     meta: {
        //       title: "物资库",
        //     },
        //   },
        //   {
        //     path: "/manage/goodsCenter/goodsApply",
        //     name: "GoodsApply",
        //     component: () => import("@/views/manage/goodsCenter/goodsApply/index.vue"),
        //     meta: {
        //       title: "物资申请",
        //     },
        //   },
        // ],
      },
      // 操作中心
      {
        path: "/manage/operateCenter",
        name: "OperateCenter",
        meta: {
          isShow: true,
          title: "操作中心",
          icon: "sidebar-operate",
        },
        children: [
          {
            path: "/manage/operate/notification",
            name: "NotificationVue",
            component: () => import("@/views/manage/operate/notification.vue"),
            meta: {
              title: "校级通知",
            },
          },
          // {
          //   path: "/manage/operate/societyRules",
          //   name: "SocietyRules",
          //   component: () => import("@/views/manage/operate/societyRules.vue"),
          //   meta: {
          //     title: "分数等级",
          //   },
          // },
        ],
      },
      {
        path: "/manage/messageCenter",
        name: "MessageCenter",
        meta: {
          isShow: true,
          title: "留言建议",
          icon: "sidebar-message",
        },
        component: () => import("@/views/manage/message/index.vue"),
      },
      // 档案库
      // {
      //   path: "/manage/filesCenter",
      //   name: "FilesCenter",
      //   redirect: "/filesCenter/cadreFiles",
      //   meta: {
      //     isShow: true,
      //     title: "档案中心",
      //     icon: "sidebar-files",
      //   },
      //   children: [
      //     {
      //       path: "/manage/filesCenter/cadreFiles",
      //       name: "CadreFiles",
      //       component: () => import("@/views/manage/filesCenter/cadreFiles.vue"),
      //       meta: {
      //         title: "人员档案",
      //       },
      //     },
      //     {
      //       path: "/manage/filesCenter/activityFiles",
      //       name: "ActivityFiles",
      //       component: () => import("@/views/manage/filesCenter/activityFiles.vue"),
      //       meta: {
      //         title: "活动档案",
      //       },
      //     },
      //     {
      //       path: "/manage/filesCenter/goodsFiles",
      //       name: "GoodsFiles",
      //       component: () => import("@/views/manage/filesCenter/goodsFiles.vue"),
      //       meta: {
      //         title: "物资档案",
      //       },
      //     },
      //   ],
      // },
      // 我的申请
      // {
      //   path: "/manage/myApply",
      //   name: "MyApply",
      //   component: () => import("@/views/manage/myApply/index.vue"),
      //   meta: {
      //     isShow: true,
      //     title: "我的申请",
      //     icon: "sidebar-activity",
      //   },
      // },
      // 个人信息
      // {
      //   path: "/manage/personalCenter",
      //   name: "PersonalCenter",
      //   component: () => import("@/views/manage/personalCenter/index.vue"),
      //   meta: {
      //     title: "个人信息",
      //     isShow: true,
      //     icon: "sidebar-personInfo",
      //   },
      // },
    ],
  },
];
